package com.guofen.service.sjq;

import com.guofen.pojo.SjqWaterProcess;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface SjqWaterProcessService {
    boolean addForm(String time,double instantaneous_flow,double flow_meter_reading_1,
                    double flow_meter_reading_2, double flow_meter_reading_total,
                    double o_level, String soil_discharging_start_time,
                    String soil_discharging_end_time,double alkali_dosage_A,
                    double alkali_dosage_O, String remarks);

    SjqWaterProcess findForm();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(SjqWaterProcess record);

    public void updateAll();

}